package com.txx.myspringboot;

import com.txx.myspringboot.initializer.SecondInitializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MySpringbootApplication {

    public static void main(String[] args) {
        //SpringApplication.run(MySpringbootApplication.class, args);
        SpringApplication application = new SpringApplication(MySpringbootApplication.class);
        application.addInitializers(new SecondInitializer());
        application.run(args);
    }

}
